package com.dongdong.service;

import com.dongdong.data.Page;
import com.dongdong.pojo.TbSpecification;
import com.dongdong.pojo.TbSpecificationOption;
import com.dongdong.vo.SpecVO;

import java.util.List;

public interface SpecificationService {
    Page<TbSpecification> selectInfo(Integer pageNum, Integer pageSize, String specName);

    int deletebyIds(Long[] ids);

    int increaseInfo(TbSpecification tbSpecification, List<TbSpecificationOption> list);

    SpecVO selectById(Long id);

    int updateSpecifiction(TbSpecification tbSpecification, List<TbSpecificationOption> optionList);

    List<TbSpecification> selectAll();
}
